import { lazy } from "react";
import { Navigate } from "react-router-dom";

export default [
	{
		path: "/blank",
		Component: lazy(() => import('@/layouts/BlankLayout.jsx')),
		children: [
			{
        path: '/blank/freight',
				Component: lazy(() => import('@/pages/BlankModule/freight/index')),
      },
      {
        path: '/blank/authorize',
				Component: lazy(() => import('@/pages/BlankModule/AuthorizeStore/index')),
      },
      {
        path: '/blank/douyinHelper',
        name:'抖音助手',
				Component: lazy(() => import('@/pages/BlankModule/DouyinHelper/index')),
      },
      {
        path: '/blank/jdOrderMatchHelper',
        name:'京东助手',
				Component: lazy(() => import('@/pages/BlankModule/JdOrderMatchHelper/index')),
      },
      {
        path: '/blank/zxinchain',
				Component: lazy(() => import('@/pages/BlankModule/ZhiXinChain/index')),
      },
      {
        path: '/blank/articleContent',
				Component: lazy(() => import('@/pages/BlankModule/ArticleContent/index')),
      },
			{
				path: '/blank/*',
				element: <Navigate to="/404" />,
			},
		],
	},
]
